#ifndef _PLAYER_H_
#define _PLAYER_H_


#define CTRL_LEFT	KEY_LEFT
#define CTRL_RIGHT	KEY_RIGHT
#define CTRL_UP		KEY_UP
#define CTRL_DOWN	KEY_DOWN


void init_player(PLAYER* player, int x, int y);
void handle_control(PLAYER* player);
void move_player(FIELD* f);
void destroy_player(PLAYER* player);
int is_on_player(PLAYER* player, POINT* point);

#endif
